package com.java.service;

import com.java.pojo.Maker2;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/***
 * 销售订单的具体内容
 */
public interface Maker2Service {
    //外键查询
    List<Maker2> getMaker2ListByM1id( Integer mid);

    /*添加*/
    int ADDMaker2(Maker2 maker2);


    /*删除*/
    int deleteMaker2(Integer m1Id);

    //修改
    int updMaker2(Integer m2id,Integer num,Double money,String disCount);

    //根据主键查询
    Maker2 getMak2ByM2id(Integer id);


    List<Maker2> getMaker2List(Integer m2id);
}
